using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.HRM
{
	[Table("HrmScholarshipFinanceDtls")]
    public class ScholarshipFinanceDtls
    {
		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[DataMember, Display(Name = "RequestTranId", ResourceType = typeof(Resources.ScholarshipsFinancesDtlsResource))]
        public int RequestTranId { get; set; }

		[DataMember, Display(Name = "EduYear", ResourceType = typeof(Resources.ScholarshipsFinancesDtlsResource))]
        public decimal EduYear { get; set; }

		[DataMember, Display(Name = "EduTerm", ResourceType = typeof(Resources.ScholarshipsFinancesDtlsResource))]
        public decimal EduTerm { get; set; }

		[DataMember, Display(Name = "SeqNo", ResourceType = typeof(Resources.ScholarshipsFinancesDtlsResource))]
        public decimal SeqNo { get; set; }

		[DataMember, Display(Name = "Amount", ResourceType = typeof(Resources.ScholarshipsFinancesDtlsResource))]
        public decimal Amount { get; set; }

        [ForeignKey("MasBudgetExpense")]
		[DataMember, Display(Name = "BgExpId", ResourceType = typeof(Resources.ScholarshipsFinancesDtlsResource))]
        public string BgExpId { get; set; }

		[DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.ScholarshipsFinancesDtlsResource))]
        public string RecordStatus { get; set; }

		[DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.ScholarshipsFinancesDtlsResource))]
        public Nullable<int> CreatedBy { get; set; }

		[DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.ScholarshipsFinancesDtlsResource))]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

		[DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.ScholarshipsFinancesDtlsResource))]
        public Nullable<int> UpdatedBy { get; set; }

		[DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.ScholarshipsFinancesDtlsResource))]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }

        public virtual BGM.MasBudgetExpense MasBudgetExpense { get; set; }

    }
}